<button class="btn-import" [disabled]="disabledState">
    <ng-container style="display: flex; align-items: center; justify-content: center;" *ngIf="!isUploading">
        <input
            type="file"
            ng2FileSelect
            [uploader]="uploader"
            (change)="selectedFileOnChanged($event)"
            [disabled]="disabledState"
        />
        <i nz-icon nzType="file-excel" nzTheme="outline"></i>
    </ng-container>
    <nz-progress
        [nzPercent]="uploader.progress"
        nzType="circle"
        [nzWidth]="60"
        *ngIf="isUploading"
        [hidden]="uploader.progress === 0"
    ></nz-progress>
</button>
